package com.example.demo.service;

import com.example.demo.common.utills.CommonResult;
import com.example.demo.entity.Macro;
import com.example.demo.entity.MouthData;

import java.util.List;

public interface MacroService {
    //查询全部汇总
    CommonResult selectAllMacro(int pageNum,int pageSize,String name,int id);

    //查询详情
    CommonResult selectMouthData(int pageNum,int pageSize,int Fid,int year);

    //修改详情
    CommonResult updateMouthData(MouthData mouthData);

    //新增
    CommonResult addMouthData(int Fid,int year,int uid);

//    //返回百分比
//    CommonResult resultBFB(int pageNum,int pageSize,String name,int id);

}
